]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
classic: Make login entries legible
authorJakub Steiner <jimmac@gmail.com>
Thu, 8 Sep 2022 09:43:50 +0000 (11:43 +0200)
committerJakub Steiner <jimmac@gmail.com>
Thu, 8 Sep 2022 09:49:15 +0000 (11:49 +0200)
- hardcoded color hotfix for 43. A more systemic approach discussed below

See https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/410

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2477>

data/theme/gnome-shell-sass/widgets/_login-dialog.scss

index 23456be5876b083848c7c1cac5b597bd61d8ae4c..208165d127a2b9f1e839a44a1f88280b8072fdc9 100644 (file)
 .unlock-dialog {
   StEntry {
     border:none !important;
-    &:focus { 
-      background-color: transparentize($fg_color, 0.9);
+    &:focus {
+      background-color: if($variant == 'light', transparentize(white, 0.9), transparentize($fg_color, 0.9));
     }
     &:insensitive { 
-      color: transparentize($fg_color, 0.5);
-      background-color: transparentize($fg_color, 0.95);
+      color: if($variant == 'light', transparentize(white, 0.5), transparentize($fg_color, 0.5));
+      background-color: if($variant == 'light', transparentize(white, 0.95), transparentize($fg_color, 0.95));
     }
   }